home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
texsis
/
tables
/
TXSdocM.doc
(
.txt
)
< prev
next >
Wrap
LaTeX Document
|
1994-03-15
|
6KB
|
104 lines
%% file: TXSdocM.doc TeXsis 2.16
% $Revision: 16.2 $ : $Date: 94/03/11 16:48:46 $ : $Author: myers $
%=======================================================================*
% TeXsis Manual -- MACROS
% This file is a part of TeXsis, a TeX macro package for Physicists
% (C) Copyright 1989, 1992 by Eric Myers and Frank E. Paige
%======================================================================*
% -- Document Format for the TeXsis manual
\ATunlock % allow @ macros here
\twelvepoint
\singlespaced % single spaced
\singlelinetrue % for \description
\markindextrue % proof marks for index entries (DRAFT ONLY)
\ContentsSwitchfalse % don't bother with table of contents (DRAFT)
\parskip=\medskipamount % some extra space between paragraphs
\EnvRightskip=0pt % allow environments all the way right
\RunningHeadstrue % do show running headlines
\def\HeadFont{\tenit} % and print running headlines in italics
\sectionminspace=4\baselineskip
%%\subsectionskip=2\parskip
% We begin a new \section on a new page. This does it automatically:
\def\everysection{\vfill\eject}
\sectionskip=0pt
% The first paragraph of a section should not be indented.
% This takes care of it whether you left a blank line or not.
\long\def\aftersection#1{\noindent\ifx\par #1\else #1\fi}
\let\aftersubsection=\aftersection
% -- some useful symbols and such
\def\bs{\char92} % '\' for macro names
\def\VT{\char'174} % vertical bar
\def\offtt{\TeXquoteoff\tt} % \tt with | allowed
\def\ttdots{{\tt\phantom{0}...\phantom{0}}}% '...' with correct spacing
\def\lb{{\tt\char'173}} % { in \tt
\def\rb{{\tt\char'175}} % } in \tt
\let\rqbrack=\} % save right curly bracket
\let\lqbrack=\{ % save left curly bracket
% \meta{stuff} was our way of doing <stuff> in text. Knuth used
% \<stuff> in the TeXbook, so I use that too. The only change
% I made was to force \rm -EAM
\def\<#1>{\leavevmode\hbox{$\langle$\rm #1\/$\rangle$}} % syntactic quantity
\def\meta#1{\leavevmode\hbox{$\langle$\rm #1\/$\rangle$}} % new \meta
% \arg is like \meta but it put's the <thing> in braces too.
\def\arg#1{\lb\<#1>\rb}
\def\Sect#1{Sect\-ion~\use{sect.#1}} % section number
\def\SEC#1{Sect\-ion~\use{sect.#1}} % section number
% \clump will ``clump'' closer together the material in a \definition
% or \itemize
\def\clump{% % "clump" \definitions and \itemize
\parskip=\baselineskip % \parskip is what \baselineskip was
\advance \parskip by 0pt plus 2pt % add some stretch
\singlespaced % singlespaced
\singlelinetrue} % long guys on own line
% -- the ``competition''
\def\TeXbook{{\sl The \TeX book}\index{TeXbook@{\TeXbook}}} % The TeXbook
\def\LaTeX{% the LaTeX symbol
{\rm L\kern -.36em\raise .3ex\hbox {A}\kern -.15em\TeX}}
\def\AmSTeX{% the AMSTeX symbol
$\cal A\kern-.1667em\lower.5ex\hbox{$\cal M$}\kern-.075em S$-\TeX}
% -- some goodies from manmac.tex
\def\bull{\vrule height .9ex width .8ex depth -.1ex } % square bullet
\def\SS{{\it SS}} % scriptscript style
\def\|{\leavevmode\hbox{\tt\char`\|}} % vertical line
\def\dn{\leavevmode\hbox{\tt\char'14}} % downward arrow
\def\up{\leavevmode\hbox{\tt\char'13}} % upward arrow
\def\pt{\,{\rm pt}} % units of points, in math formulas
\def\em{\,{\rm em}} % units of ems, in math formulas
\def\oct#1{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant
\def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant
\def\cstok#1{\leavevmode\thinspace\hbox{\vrule\vtop{\vbox{\hrule\kern1pt
\hbox{\vphantom{\tt/}\thinspace{\tt#1}\thinspace}}
\kern1pt\hrule}\vrule}\thinspace} % control sequence token
% -- The index is constructed with index.tex and MakeIndex
\input index
\ATunlock % make sure @ is still a letter after index.tex
% Use \cs{foo} to get \foo in \tt type and make an entry in the
% index. Use \CS{foo} to get \foo in \tt type and make an BOLD
% (defining) entry in the index.
\def\cs#1{%
{\tt\bs #1}\index{#1@{\tt\bs #1}}% % put it in text and index it.
\ifmarkindex % mark index entries in right margin?
\llap{\lower\jot\vbox to 0pt{\vss % box it
\tightboxit{\loosebox{\phantom{\tt\bs #1}}}}\hskip-\jot}%
\fi}
\TeXquoteoff % be sure | in \index is not active
\def\CS#1{%
{\tt\bs #1}\index{#1@{\tt\bs #1}|bold}% % put it in text and index it.
\ifmarkindex % mark index entries in right margin?
\llap{\lower\jot\vbox to 0pt{\vss % box it
\tightboxit{\loosebox{\phantom{\tt\bs #1}}}}\hskip-\jot}%
\fi}
\Ignore % (I think this looks nicer, but... -EAM)
% -- re-define \PageNumber to print in 12pt sans serif page
% numbers on odd/even pages, hanging out into the margins.
\def\PageNumber{%
\ifnum\pageno<0 \romannumeral-\pageno
\else\ifodd
\pageno \rlap{\ \ \ \twelvess\number\pageno}%
\else\llap{\twelvess\number\pageno\ \ \ }%
\fi
\fi}
\endIgnore
\TeXquoteon
%>>> EOF TXSdocM.doc <<<